public class CiscoG723MediaCapability extends CiscoMediaCapability
The CiscoG723MediaCapability
object specifies the properties for a G.723 encoded RTP
stream. Applications that support G.723 media termination use this object to specify their
preferred packet size and bit rate when registering a CiscoMediaTerminal
.
The default packet size is thirty milliseconds and the default bit rate is 6.4k.
Modifier and Type | Field and Description |
---|---|
static int |
FRAMESIZE_SIXTY_MILLISECOND_PACKET
RTP Packet Framesize: Sixty millisecond RTP packet
|
static int |
FRAMESIZE_THIRTY_MILLISECOND_PACKET
RTP Packet Framesize: Thirty millisecond RTP packet
|
static int |
FRAMESIZE_TWENTY_MILLISECOND_PACKET
RTP Packet Framesize: Twenty millisecond RTP packet
|
G711_64K_30_MILLISECONDS, G723_6K_30_MILLISECONDS, G729_30_MILLISECONDS, GSM_80_MILLISECONDS, ISAC, WIDEBAND_256K_10_MILLISECONDS
Constructor and Description |
---|
CiscoG723MediaCapability()
Constructs a CiscoG723MediaCapability
|
CiscoG723MediaCapability(int rtpPacketFrameSize,
int bitRate)
Constructs a CiscoG723MediaCapability
|
Modifier and Type | Method and Description |
---|---|
int |
getBitRate()
Returns the bit rate specified by this capability object.
|
java.lang.String |
toString()
Overwrites the Object.toString() method.
|
getMaxFramesPerPacket, getPayloadType, isSupported
public static final int FRAMESIZE_TWENTY_MILLISECOND_PACKET
public static final int FRAMESIZE_THIRTY_MILLISECOND_PACKET
public static final int FRAMESIZE_SIXTY_MILLISECOND_PACKET
public CiscoG723MediaCapability(int rtpPacketFrameSize, int bitRate)
CiscoG723MediaCapability
public CiscoG723MediaCapability()
CiscoG723MediaCapability
public int getBitRate()
RTPBitRate
interfacepublic java.lang.String toString()
toString
in class CiscoMediaCapability